<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登入</title>
</head>
<style>
    div.login{
        display: flex;flex-direction: column;justify-content: center;align-items:center;
    }
    div.login div{
        width:300px;
    }
    body{
        margin: 200px auto;
    }
</style>
<body>

        <form action="/login/login" method="post">
        <div class="login">
            <div>帐号: <input type="text" name="username" /></div>
            <div>密码: <input type="password" name="password" /></div>
            <div>
                <input type="submit" value="登入">
            </div>
            <div style="color:red">
                <?= $msg ?? '' ?>
            </div>
        </div>
        </form>

</body>
</html>